﻿/* Pane layout */

.headerPane, .gridPane, .actionPane, .playersPane, .mapLegendPane, .bbcodePane 
{
    position: fixed;
}
.gridPane, .actionPane, .playersPane, .mapLegendPane
{
    overflow: auto;
}
.actionPane, .playersPane, .mapLegendPane, .bbcodePane 
{
    background-color: #e0d3bd;
}

.headerPane 
{
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #bca376),
        color-stop(1, #2c1d0c)
    );
    background: -moz-linear-gradient(
        center top,
        #bca376 0%,
        #2c1d0c 100%
    );
    background-color: #543817;
    top: 0px;
    left: 301px;
    right: 301px;
    height: 82px;
}
.gridPane 
{
    top: 82px;
    bottom: 201px;
    left: 301px;
    right: 301px;
}
.actionPane 
{
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 300px;
    border-right: 1px solid #2c1d0c;
}
.playersPane 
{
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 300px;
    border-left: 1px solid #2c1d0c;
}
.mapLegendPane 
{
    bottom: 0px;
    left: 301px;
    right: 50%;
    height: 200px;
    border-top: 1px solid #2c1d0c;
}
.bbcodePane 
{
    bottom: 0px;
    right: 301px;
    height: 200px;
    left: 50%;
    border-top: 1px solid #2c1d0c;
}

/* Default styles */

body   
{
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #543817;
}

a:link, a:visited
{
    color: #98591b;
}

a:hover
{
    color: #bca376;
    text-decoration: none;
}

a:active
{
    color: #98591b;
}

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #543817;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1
{
    color: #e0d3bd;
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

h1 a:link, h1 a:hover, h1 a:visited
{
    color: #e0d3bd;
    text-decoration: none;
}

h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h3
{
    font-size: 1.2em;
}

li::marker 
{
    vertical-align: top;
}

/* Navigation menu (also largely from ASP.Net defaults) */
div.hideSkiplink
{
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #2c1d0c),
        color-stop(1, #543817)
    );
    background: -moz-linear-gradient(
        center top,
        #2c1d0c 0%,
        #543817 100%
    );
    background-color: #2c1d0c;
    width:100%;
}

div.menu
{
    padding: 4px 0px 0px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #bca376),
        color-stop(1, #543817)
    );
    background: -moz-linear-gradient(
        center top,
        #bca376 0%,
        #543817 100%
    );
    background-color: #543817;
    border: 1px solid #2c1d0c;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    color: #e0d3bd;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover,
div.menu ul li a.selected 
{
    background-color: #fff;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #bca376),
        color-stop(1, #fff)
    );
    background: -moz-linear-gradient(
        center top,
        #bca376 0%,
        #fff 100%
    );
    color: #2c1d0c;
    text-decoration: none;
}
div.menu ul li a.selected 
{
    background-color: #fff;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}

div.menu ul li a:active
{
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #bca376),
        color-stop(1, #543817)
    );
    background: -moz-linear-gradient(
        center top,
        #bca376 0%,
        #543817 100%
    );
    background-color: #98591b;
    color: #e0d3bd;
    text-decoration: none;
}

/* Home page */
div.homePage 
{
    margin: 20px;
}
.newGridButton 
{
    display: inline-block;
    margin: 20px;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    font-variant: small-caps;
    border: 3px solid #543817;
}

/* BBCode box */
.bbcodebox 
{
    margin-top: 0px;
    font-size: 8px;
    background-color: #bca376;
    width: 99%;
    float: right;
    height: 196px;
}


/* Wall and terrain legend */
.mapLegendPane ul 
{
    padding-left: 15px;
    padding-right: 15px;
    list-style: none;
}

/* Player list */

.playerDescription, .playerPositions 
{
    font-size: x-small;
}
.distance .x, .distance .y, .distance .s
{
    display: none;
}
.distance 
{
    font-size: x-small;
}

/* Grid manipulator */
.gridmanip 
{
    padding: 10px;
    float: left;
}
.gridmanip-inner
{
    position: relative;
}
.gridmanip-cell
{
    position: absolute;
}
.gridmanip-cellinner
{
    background-color: #bca376;
    opacity: 0.3;
    border: 1px solid #543817;
}
.gridmanip-cellinner a:link 
{
    width: 100%;
    height: 100%;
    display: none;
}
.gridmanip-cell.grid-one-command .gridmanip-cellinner a:link 
{
    display: block;
}
.gridmanip-cell.grid-multi-commands 
{
    cursor: pointer;
}
.gridmanip-cell.grid-locked .gridmanip-cellinner,
.gridmanip-cell.grid-one-command .gridmanip-cellinner
{
    opacity: 0.6;
}
.gridmanip-cell.grid-one-command .gridmanip-cellcommandlist,
.gridmanip-cell.grid-multi-commands .gridmanip-cellcommandlist
{
    background: #e0d3bd;
    display: inline-block;
    border: 1px solid #bca376;
    white-space: nowrap;
}
.gridmanip-cell.grid-locked .gridmanip-cellcommandlist,
.gridmanip-cell.grid-one-command .gridmanip-cellcommandlist
{
    background: #bca376;
    border: 1px solid #543817;
}
.gridmanip-cell .gridcommand :link
{
    color: #543817;
    text-decoration: none;
}
.gridmanip-cell .gridcommand:hover,
.gridmanip-cell.grid-one-command .gridcommand
{
    background: #543817;
}
.gridmanip-cell .gridcommand :link:hover,
.gridmanip-cell.grid-one-command .gridcommand :link
{
    color: #e0d3bd;
}


/* Color picker */
.colorPickerSurround
{
    display: inline-block;
}

.colorPickerPopupSurround 
{
    position: relative;
}

.colorPickerPopup 
{
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    border: 1px solid 543817;
}


/* Wall/Terrain editing */
ul.wallManip, ul.terrainManip
{
    padding-left: 15px;
    padding-right: 15px;
    list-style: none;
}

/* Player editing */


/* Move compasses */
.mover td 
{
    text-align: center;
}

.mover a 
{
    color: inherit;
    font-style: italic;
}
